import {
  createRouter,
  createWebHashHistory,
  createWebHistory,
} from "vue-router";

const routes = [
  {
    path: "/vite/:page*",
    name: "vite",
    component: () => import(/* webpackChunkName: "vite" */ "../pages/vite.vue"),
  },
  {
    path: "/ceshi2/:page*",
    name: "ceshi2",
    component: () =>
      import(/* webpackChunkName: "vite" */ "../pages/vite_2.vue"),
  },
];

const router = createRouter({
  history: createWebHashHistory("/"),
  routes: routes,
});

export default router;
